<template>
  <div>
    <p>{{ bData }}</p>
    <p>{{ commonData }}</p>
    <button @click="bMethods">b方法</button>
    <button @click="CMethods">公共方法</button>
  </div>
</template>

<script>
import mixin from "../mixins/mixin.js";
export default {
  name: "Compb",
  mixins: [mixin],
  data() {
    return {
      bData: "BXX",
    };
  },
  methods: {
    bMethods() {
      console.log("b的方法");
    },
  },
  mounted() {
    console.log("bmounted");
  },
};
</script>

<style>
</style>